<?php defined('KOOWA') or die('Restricted access');?>

<form class="an-sblogs-form" id="an-sblogs-add-post" method="post" action="<?= 'index.php?option=com_sblogs&view=post&id='.$post->id.'&oid='.$actor->id ?>">
	<input type="hidden" name="action" value="<?= $post->id ? 'edit' : 'add' ?>" />
	<fieldset>
	
		<dl class="an-se-data-list an-se-form">
			<dt><label id="an-sblogs-label-title" for="title"><?= @text('AN-SBLOGS-TITLE') ?></label></dt>
			<dd><input name="property[title]" value="<?= stripslashes( $post->title ) ?>" id="an-sblogs-post-title" size="50" maxlength="80" tabindex="1" type="text"></dd>
			
			<dt><label id="an-sblogs-label-body" for="body"><?= @text('AN-SBLOGS-POST-BODY') ?></label></dt>
			<dd><textarea name="property[body]" cols="50" rows="10" id="an-sblogs-post-body" tabindex="2"><?= stripslashes( $post->body ) ?></textarea></dd>

		</dl>
		
		<div class="an-se-clr"></div>
		
		<div class="an-sblogs-form-field">
			<button class="button an-se-button" id="an-sblogs-button-submit" tabindex="4"><?= @text('AN-SE-ACTION-SAVE') ?></button>
		</div>
	</fieldset>
</form>

<p class="an-se-message message">
	<?= @text('AN-SBLOGS-ALLOWED-MARKUP-INSTRUCTIONS') ?>
</p> 
